package com.example.dzbsh.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

@Controller
public class PageCrontroller {
	
	// 登录
	@RequestMapping("/manage/login.html")
	public String ManageLogin() {
		return "./manage/login";
	}

	@RequestMapping("/manage/welcome.html")
	public String Welcome() {
		return "./manage/welcome";
	}

    @RequestMapping("/index.html")
    public String index(HttpServletRequest request, ModelMap map) {
    	if(!isLogin(request)) {
			return "redirect:./manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

        return "./index";
    }
    
    @RequestMapping("/admin/main_admin.html")
    public String MainDept(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "admin/adminmanage";
    }
    
    // 人员列表
 	@RequestMapping("/jingshangqingkuang/renyuanlist.html")
 	public String RenyuanList(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "jingshangqingkuang/renyuanlist";
 	}
 	
   // 人员列表
  	@RequestMapping("/jingshangqingkuang/jiashulist.html")
  	public String JiashuList(@RequestParam("renyuanId") String pprenyuanId,HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
  		map.put("renyuanId", pprenyuanId);
  		return "jingshangqingkuang/jiashulist";
  	}

	@RequestMapping("/jingshangqingkuang/jigoumingchengmajiaodui.html")
	public String JigoumingchengmaJiaodui(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "jingshangqingkuang/jigoumingchengmajiaodui";
	}

	// 经商汇总
	@RequestMapping("/jingshangqingkuang/jingshangdaoru.html")
	public String Jingshangdaoru(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "jingshangqingkuang/jingshangdaoru";
	}

	// 经商查询
	@RequestMapping("/jingshangqingkuang/jingshangchaxun.html")
	public String Jingshangchaxun(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "jingshangqingkuang/jingshangchaxun";
	}

	// 经商情况查询详情
	@RequestMapping("/jingshangqingkuang/detail_jingshang.html")
	public String DetailJingshang(@RequestParam("renyuanId") String pprenyuanId,HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		map.put("renyuanId", pprenyuanId);

		return "jingshangqingkuang/detail_jingshang";
	}

	// 经商汇总
	@RequestMapping("/jingshangqingkuang/jingshanghuizong.html")
	public String Jingshanghuizong(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "jingshangqingkuang/jingshanghuizong";
	}


	// 经商统计
	@RequestMapping("/jingshangqingkuang/jingshangtongji.html")
	public String Jingshangtongji(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "jingshangqingkuang/jingshangtongji";
	}

	// 企业信息汇总表
	@RequestMapping("/jingshanghuizong/qiyexinxihuizong.html")
	public String QiyexinxiHuizong(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "jingshanghuizong/qiyexinxihuizong";
	}

	// 查核数据、查核数据导入
	@RequestMapping("/chaheshuju/chaheshujudaoru.html")
	public String CaheshujuDaoru(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "chaheshuju/chaheshujudaoru";
	}

	// 查核数据查询
	@RequestMapping("/chaheshuju/chahechaxun.html")
	public String Cahechaxun(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "chaheshuju/chahechaxun";
	}

	// 甄别导入导出
	@RequestMapping("/zhenbieqingkuang/zhenbiedaorudaochu.html")
	public String zhenbiedaorudaochu(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "zhenbieqingkuang/zhenbiedaorudaochu";
	}
	// 甄别认定
	@RequestMapping("/zhenbieqingkuang/xingweirending.html")
	public String xingweiRending(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "zhenbieqingkuang/xingweirending";
	}

	// 甄别数据汇总
	@RequestMapping("/zhenbieqingkuang/zhenbiehuizong.html")
	public String zhenbiehuizong(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "zhenbieqingkuang/zhenbiehuizong";
	}
	//甄别认定查询
	@RequestMapping("/zhenbieqingkuang/zhenbiechaxun.html")
	public String Zhenbiechaxun(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();

		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "zhenbieqingkuang/zhenbiechaxun";
	}
	//甄别数据家属详情
	@RequestMapping("/zhenbieqingkuang/detail_zhenbie.html")
	public String detailZhenbie(@RequestParam("jiashuid") String ppJiashuId,HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("jiashuid", ppJiashuId);
		map.put("Xuliebianma", mmXuliebianma);
		return "zhenbieqingkuang/detail_zhenbie";
	}

	// 规范落实数据查询
	@RequestMapping("/guifanqingkuang/guifanchaxun.html")
	public String guifanLuoshi(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "guifanqingkuang/guifanchaxun";
	}

	// 规范落实数据查询详情
	@RequestMapping("/guifanqingkuang/detail_guifan.html")
	public String guifanDetail(@RequestParam("jiashuid") String ppJiashuId,@RequestParam("title") String ppTitle,HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("jiashuid", ppJiashuId);
		map.put("title", ppTitle);
		map.put("Xuliebianma", mmXuliebianma);
		return "guifanqingkuang/detail_guifan";
	}

	// 规范落实导入导出
	@RequestMapping("/guifanqingkuang/guifandaorudaochu.html")
	public String guifanDaorudaochu(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "guifanqingkuang/guifandaorudaochu";
	}

	//规范落实汇总表
	@RequestMapping("/guifanqingkuang/guifanhuizong.html")
	public String guifanhuizong(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "guifanqingkuang/guifanhuizong";
	}

	// 规范落实统计表
	@RequestMapping("/guifanqingkuang/guifantongji.html")
	public String guifanTongji(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "guifanqingkuang/guifantongji";
	}

	// bsh相关的新的controller
	@RequestMapping("/bshxinxi/bshdaoru.html")
	public String bshdaoru(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "bshxinxi/bshdaoru";
	}

	// bsh相关的新的controller
	@RequestMapping("/bshxinxi/bshxinxi.html")
	public String bshxinxi(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "bshxinxi/bshxinxi";
	}

	// bsh相关的新的controller
	@RequestMapping("/bshxinxi/bshdetail.html")
	public String bshdetail(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "bshxinxi/bshdetail";
	}

	@RequestMapping("/zaizhanbsh/jingfeiguanli.html")
	public String bshJingfeiguanli(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "zaizhanbsh/jingfeiguanli";
	}

	@RequestMapping("/zaizhanbsh/kaoheguanli.html")
	public String bshKaoheguanli(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "zaizhanbsh/kaoheguanli";
	}

	// bsh相关的新的controller
	@RequestMapping("/bshxinxi/bshtongji.html")
	public String bshtongji(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}
		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);
		return "bshxinxi/bshtongji";
	}


	@RequestMapping("/bshchuzhan/chuzhanshezhi.html")
	public String bshChuzhanshezhi(HttpServletRequest request, ModelMap map) {
		if(!isLogin(request)) {
			return "redirect:../manage/login.html";
		}

		String mmAdminId = request.getSession().getAttribute("AdminId").toString();
		String mmDeptId = request.getSession().getAttribute("DeptId").toString();
		String mmDeptName = request.getSession().getAttribute("DeptName").toString();
		String mmXuliebianma = request.getSession().getAttribute("Xuliebianma").toString();
		map.put("AdminId", mmAdminId);
		map.put("DeptId", mmDeptId);
		map.put("DeptName", mmDeptName);
		map.put("Xuliebianma", mmXuliebianma);

		return "bshchuzhan/chuzhanshezhi";
	}

 	public boolean isLogin(HttpServletRequest request) {
		HttpSession session = request.getSession();
		if (session == null || session.getAttribute("AdminId") == null) {
			return false;
		}
		return true;
	}

}
